package bookez.model.dao;

import java.util.List;

import bookez.model.businessobject.Route;
import bookez.model.dao.generic.GenericDao;
import bookez.model.exception.DataAccessLayerException;

public interface RouteDao extends GenericDao<Route, Long> {
	
	List<Route> findAll()							throws DataAccessLayerException;
	List<Route> findByFromCity( String fromCity )	throws DataAccessLayerException;
	List<Route> findByToCity( String toCity )		throws DataAccessLayerException;
	Route		findByCities( String fromCity, String toCity ) throws DataAccessLayerException;
	
}//end interface RouteDao
